home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / fgl105c.zip / 09-07.C < prev    next >
Text File  |  1991-06-16  |  457b  |  29 lines

  1. char hello[] = {
  2.    't',1, 'h',2, 'e',3, 'r',4, 'e',5,
  3.    'h',1, 'e',2, 'l',3, 'l',4, 'o',5
  4.    };
  5.  
  6. char image[] = {
  7.    'T',0, 0,1, 0,1, 0,1, 0,1,
  8.    'H',0, 0,1, 0,1, 0,1, 0,1
  9.    };
  10.  
  11. main()
  12. {
  13.    int old_mode;
  14.  
  15.    old_mode = fg_getmode();
  16.    fg_setmode(3);
  17.    fg_cursor(0);
  18.  
  19.    fg_locate(12,37);
  20.    fg_drwimage(hello,10,2);
  21.    fg_waitkey();
  22.  
  23.    fg_drwimage(image,10,2);
  24.    fg_waitkey();
  25.  
  26.    fg_setmode(old_mode);
  27.    fg_reset();
  28. }
  29.